package com.atguigu.eduservice.client.impl;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.client.VodClient;

import java.util.List;

/**
 * @author: 孟繁钦
 * @createDate: 2021-12-31 9:44
 * @description: 实现类
 */

public class VodFileDegradeFiengClient implements VodClient {
    /*服务器熔断执行的方法*/
    @Override
    public R removeVideo(String videoId) {
        return R.error().message("视频删除失败执行熔断机制");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("视频多个删除失败执行熔断机制");
    }
}
